package com.nh.log.client;

import com.nh.log.fallback.ReceptionFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @Author: LaoCao
 * @Date: 2023/3/18 16:27
 * @Version: 1.0
 **/
@FeignClient(value = "reception-service",fallback = ReceptionFallback.class
            ,path = "/admin/reception")
public interface ReceptionFeignClient {
    /**
     * 获取指定日志id之后的所有已经分析过的数据
     */
    @GetMapping("/find/all/log/id")
    List<Long> findLogIdList(@RequestParam("logId") Long logId,
                             @RequestParam("date") String date);

}
